<?php
/**
 * @version		$Id: view.html.php 32 2009-08-17 14:47:55Z naveen.gavini $
 * @package		Joomla
 * @subpackage	Joomla Multisite
 * @copyright	Copyright (C) 2009 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and
 * details.
 */
 
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
 
jimport( 'joomla.application.component.view' );

/**
 * Multisites View
 *
 * @package    Multisite
 * @subpackage Components
 */
class MultisitesViewMultisites extends JView
{
   
	/**
	 * Multisites view display method
	 * @return void
	 **/
	function display($tpl = null)
	{
		JToolBarHelper::title(   JText::_( 'Multisite Manager' ), 'generic.png' );
		JToolBarHelper::addNew();
		JToolBarHelper::editListX();
		JToolBarHelper::deleteList();
		$bar=&JToolbar::getInstance('toolbar');
		$bar->appendButton('Popup', 'help', 'Help', '?option=com_multisite&controller=multisite&task=help', 800, 600);
		// Get data from the model
		$items		= & $this->get( 'Data');

		$this->assignRef('items',		$items);
		
		parent::display($tpl);
	}
}